---
title: 'Datadog'
description: 'Configuring the Datadog backend (Managed)'
sidebarTitle: 'Datadog'
icon: 'signal-stream'
---

### Getting Started

<img src="https://d15jtxgb40qetw.cloudfront.net/datadog.svg" alt="datadog" className="not-prose h-20" />

{/*
    Add custom content here (under this comment)...

    e.g.

    **Creating Account**<br />
    Go to the **[🔗 website](https://odigos.io) > Account** and click **Sign Up**

    **Obtaining Access Token**<br />
    Go to **⚙️ > Access Tokens** and click **Create New**

    !! Do not remove this comment, this acts as a key indicator in `docs/sync-dest-doc.py` !!
    !! START CUSTOM EDIT !!
*/}

On the left sidebar, click on your username and then click on **Organization Settings**

<Frame>
    <img src="/backends/images/datadog1.png" alt="Organization settings menu" />
</Frame>

Click on **API Keys** and then click on **New Key** and give it a name.

<Frame>
    <img src="/backends/images/datadog2.png" alt="New API key screen" />
</Frame>

{/*
    !! Do not remove this comment, this acts as a key indicator in `docs/sync-dest-doc.py` !!
    !! END CUSTOM EDIT !!
*/}

### Configuring Destination Fields

<Accordion title="Supported Signals:">
  ✅ Traces
  ✅ Metrics
  ✅ Logs
</Accordion>

- **DATADOG_API_KEY** `string` : API Key. The API key for your Datadog account.
  - This field is required
- **DATADOG_SITE** `string` : Site. The datadog site you are using (the url of the datadog site you are using).
  - This field is required

### Adding Destination to Odigos

There are two primary methods for configuring destinations in Odigos:

##### **Using the UI**

<Steps>
  <Step>
    Use the [Odigos CLI](https://docs.odigos.io/cli/odigos_ui) to access the UI
    ```bash
    odigos ui
    ```
  </Step>
  <Step>
    Click on `Add Destination`, select `Datadog` and follow the on-screen instructions
  </Step>
</Steps>

##### **Using Kubernetes manifests**

<Steps>
  <Step>
    Save the YAML below to a file (e.g. `datadog.yaml`)
    ```yaml
    apiVersion: odigos.io/v1alpha1
    kind: Destination
    metadata:
      name: datadog-example
      namespace: odigos-system
    spec:
      data:
        DATADOG_SITE: '<Site (options: [us3.datadoghq.com, datadoghq.com, us5.datadoghq.com,
          datadoghq.eu, ddog-gov.com, ap1.datadoghq.com])>'
      destinationName: datadog
      secretRef:
        name: datadog-secret
      signals:
      - TRACES
      - METRICS
      - LOGS
      type: datadog

    ---

    apiVersion: v1
    data:
      DATADOG_API_KEY: <Base64 API Key>
    kind: Secret
    metadata:
      name: datadog-secret
      namespace: odigos-system
    type: Opaque
    ```
  </Step>
  <Step>
    Apply the YAML using `kubectl`
    ```bash
    kubectl apply -f datadog.yaml
    ```
  </Step>
</Steps>